package cn.edu.scau.cmi.wuzhenxin.composite.consistent;

import java.util.ArrayList;

public abstract class ConsistentComponent {
	public static int number = 0;
	public abstract String say() ;
	public abstract void add(ConsistentComponent organization);//添加
	public abstract void remove(ConsistentComponent organization);//删除
	public abstract ArrayList<ConsistentComponent> getChildren();//取子节点
	public abstract void setParent(ConsistentComponent parent);
	public abstract ConsistentComponent getParent();
}
